package com.example.design.gof.adapter;

/**
 * 适配器类
 */
public class ClassAdapter extends Adaptee implements Target{

    @Override
    public void request() {
        specificRequest();
    }

    @Override
    public void specificRequest() {
        super.specificRequest();
        System.out.println("子类-重写抽象方法");
    }
}
